Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 4 - Dialog Manager Reference / Dialog Manager Functions


Defining Your Own Dialog Item Function

NOT RECOMMENDED WITH THE APPEARANCE MANAGER

When the Appearance Manager is available and an embedding hierarchy is established in a dialog box, you should provide the user pane drawing function MyUserPaneDrawProc instead of the user item drawing function MyUserItemProc to draw an application-defined control (a dialog item becomes a control in a dialog box with an embedding hierarchy).

You can provide other user pane application-defined functions to hit test, track, perform idle processing, handle keyboard, activate, and deactivate event processing, handle keyboard focus, and set the background color or pattern in a user pane control. For examples of how to write these functions, see "Defining Your Own User Pane Functions".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998